package com.e7.service;

import java.util.ArrayList;

import org.springframework.stereotype.Service;

import com.e7.model.News;

@Service("newsService")
public class NewsService {
	/**
	 * @param type
	 *            type of news
	 *            <ul>
	 *            <li>1->pic news
	 *            <li>2->title news
	 *            <li>3->pic + title + intro news
	 *            </ul>
	 * @param time
	 *            time of the news to be got
	 * @return the specified type of news
	 */
	public ArrayList<News> getNews(int type, String time) {
		return null;
	}
}
